package sisdroid.framework.sensors;

import java.util.HashSet;
import java.util.Set;

import android.app.Activity;
import android.content.Context;
import android.telephony.TelephonyManager;

import sisdroid.framework.model.Net;

public class ImeiSensor implements Sensor
{

	HashSet<Net> r; 
	public ImeiSensor( Context c )
	{
		android.telephony.TelephonyManager manager = (TelephonyManager) c.getSystemService(Context.TELEPHONY_SERVICE);
		r = new HashSet<Net>();
		r.add( new Net( "imei" , manager.getDeviceId( ) ) );
/*		
 * r.add( new Net( "NetOperator", manager.getNetworkOperator() ));
 * r.add( new Net( "NetOperatorName", manager.getNetworkOperatorName() ) );
 * r.add( new Net( "IsRoaming", manager.isNetworkRoaming() ? "YES" : "NO" ) ); 
 */
	}
	
	@Override
	public Set<Net> getNetIDS()
	{
		return r;
	}

}
